Carbon


MPCreateCriticalRegion

Header: Multiprocessing.h Carbon status: Supported

Creates a critical region object.

OSStatus MPCreateCriticalRegion (
    MPCriticalRegionID *criticalRegion
);
criticalRegion

On return, the criticalRegion contains the ID of the newly created critical region object.

function result

A result code.

DISCUSSION

Also see the function MPDeleteCriticalRegion.

VERSION NOTES

Introduced with Multiprocessing Services 1.0.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when MPLibrary 1.0 or later is installed. Exported by CarbonLib 1.0 and later and by MPLibrary 1.0 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/6/2000)